import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/home'
import  DdmoIndex from '@/demo/index'
import  Order from '@/demo/pages/Order'
import  Discover from '@/demo/pages/Discover'
import  My from '@/demo/pages/My'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'DdmoIndex',
      component: DdmoIndex
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/order',
      name: 'Order',
      component: Order
    },
    {
      path: '/discover',
      name: 'Discover',
      component: Discover
    },
    {
      path: '/my',
      name: 'My',
      component: My
    }
  ]
})
